package visualcbir.format;

import java.awt.Graphics;

/**
 * A component that needs to be printed in some format needs to implements
 * this interface
 * @author sheila
 */
public interface IPrintable {
    /**
     * Implementations of this function must depend on the type of component
     * If awt component for example could use paint  or print
     * If swing component could use paintComponent
     * @param g. The specific graphic to paint with.
     */
    public void printWithGraphics(Graphics g);

}
